<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>帮助中心</title>
<link rel="stylesheet" type="text/css" href="../img/base.css">
<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.2.min.js"></script>
<script language="javascript">
function delsubmit(id)
{
	if(confirm('确定要删除类目吗?这将会导致该类目下的文档重置类目属性'))
	{
		return true;
	}
	else
	{
		return false;
	}
}
</script>
</head>
<body leftmargin="8" topmargin="8" background='../img/allbg.gif'>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td align='center' valign='top'>
		    <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA">
            	<tr>
                	<td height="28" background="../img/tbg.gif">
                    	<div style="float:right;padding-right:6px;">
                            <a href='help_type.php?op=type_add_dis' class='np coolbg'>添加类目</a> &nbsp;&nbsp;
                            <a href='help_list.php' class='np coolbg'>返回</a>
                        </div>
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr bgcolor="#FFFFFF">
                	<td height="4"></td>
                </tr>
			</table>
                
            
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr bgcolor="#FFFFFF">
                	<td height="4"></td>
                </tr>
			</table>
			<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA">
				<tr bgcolor="#E7E7E7">
					<td height="24" colspan="9" background="../img/tbg.gif">类目管理</td>
				</tr>
                <tr align="center" bgcolor="#FAFAF1" height="22">
					<td width="">类目名称</td>
                    <td width="20%">添加时间</td>
					<td width="10%">操作</td>

                </tr>
				
                <form action="help_type.php" method="post" name="frm" id="frm" ">
				<{foreach from=$type_list item=type}>
                <tr align='center' bgcolor="#FFFFFF"  onMouseMove="javascript:this.bgColor='#f4fbf4';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td>
						<{$type.type_name}>
					</td>
                    <td>
                        <{$type.add_time|date_format:"%Y-%m-%d %T"}>
                    </td>
					<td>
						<a href="help_type.php?op=type_edit_dis&type_id=<{$type.type_id}>">修改</a>
						<a href="help_type.php?op=del_type&type_id=<{$type.type_id}>" onclick="return delsubmit();">删除</a>
					</td>
                </tr>
                <{/foreach}>
                	
                <tr bgcolor="#FAFAF1">
                	<td height="24" colspan="15">
                    	<input type="hidden" id="number_op" name="op" value="" />

                        <{$page_str}>
                    </td>
                </tr>
				</form>
			</table>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                	<td height="4"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                	<td height="26"></td>
                </tr>
				<tr>
					<td colspan="2" height="4"></td>
				</tr>
			</table>
		</td>
	</tr>
</table>
</body>
</html>